<template>
<uni-shadow-root class="partials-gridlist-vertical_column_navigation-index"><template name="vertical_column_navigation">
  <view class="user_menu">
    <view v-for="(cells,index) in (jsonData.cells)" :key="cells.index" class="user_menu_item">
      <view class="user_menu_item_link" v-if="cells.linkUrl!='contact'" :data-link="cells.linkUrl" @click="tolinkUrl">
        <view class="user_menu_item_left">
          <image class="user_menu_item_icon" :src="cells.iconPath"></image>
          <text class="user_menu_item_name">{{cells.text}}</text>
        </view>
        <image class="user_menu_item_more" src="https://image1.sansancloud.com/xianhua/2019_3/27/15/44/8_298.jpg?x-oss-process=style/preview_120"></image>
      </view>
      <button open-type="contact" plain="true" hover-class="none" style="border:none" class="user_menu_item_link kefu" v-else>
        <view class="user_menu_item_left">
          <image class="user_menu_item_icon" :src="cells.iconPath"></image>
          <text class="user_menu_item_name">{{cells.text}}</text>
        </view>
        <image class="user_menu_item_more" src="https://image1.sansancloud.com/xianhua/2019_3/27/15/44/8_298.jpg?x-oss-process=style/preview_120"></image>
      </button>
    </view>
  </view>
</template></uni-shadow-root>
</template>

<script>

global['__wxRoute'] = 'partials/gridlist/vertical_column_navigation/index'

Component({})

export default global['__wxComponents']['partials/gridlist/vertical_column_navigation/index']
</script>
<style platform="mp-weixin">
.user_menu{
  display: flex;
  flex-direction: column;
  padding:10rpx 30rpx;
  box-sizing: border-box;
  width: 100%;
  background: #fff;
  font-size: 26rpx;
}
.user_menu_item{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding:30rpx 20rpx;
  box-sizing: border-box;
  border-bottom: 1rpx solid #f5f5f5;
}
.user_menu_item_link{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width:100%;
  font-size: 26rpx;
}
.kefu{
  padding: 0;
  margin: 0
}
.user_menu_item_left{
  display: flex;
  flex-direction: row;
  align-items: center;
}
.user_menu_item_icon{
  width: 60rpx;
  height: 60rpx;
  margin-right: 40rpx;
}
.user_menu_item_more{
  width: 20rpx;
  height: 20rpx; 
}
</style>